package com.itheima.project.vo.content;

import com.itheima.project.basic.BasicVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @Description：
 */
@Data
@NoArgsConstructor
public class ContentRuleDetailVo extends BasicVo {

    @Builder
    public ContentRuleDetailVo(Long id,Long baseRuleId,String scene,String ruleDetail,String remark){
        super(id);
        this.baseRuleId=baseRuleId;
        this.scene=scene;
        this.ruleDetail=ruleDetail;
        this.remark=remark;
    }

    @ApiModelProperty(value = "基础规则ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long baseRuleId;

    @ApiModelProperty(value = "场景，eg:porn")
    private String scene;

    @ApiModelProperty(value = "规则明细，eg：[{'rule':'10<score<20','score':30}]")
    private String ruleDetail;

    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "选中节点")
    private String[] checkedIds;

}
